package jvm;

/**
 * <P> @Author: ideaAdmin
 * <P> TODO: Class
 * <P> TODO:
 * <P> Date: 2022/2/25:20:30
 * <P> Description:
 */

public class ClassInitTest {
    private static int num = 10;

    static {
        num = 20;
        name = "name";
    }

    private static String name = "hehe";


    public static void main(String[] args) {
        System.out.println(num);
        System.out.println(name);
    }
}
